package com.isoft.sjhy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.isoft.sjhy.model.Userinfo;

/**
 * 2 * @Author: 郭邈
 * 3 * @Date: 2021/6/25 14:28
 * 4 * @ClassName:sjhy
 * 4 * @PACKAGE_NAME:com.isoft.sjhy.service.impl
 */
public interface UserinfoService extends IService<Userinfo> {
    IPage<Userinfo> findListByPage(Integer page, Integer pageCount);
    PageInfo<Userinfo> findUserinfoAll(int page, int pageSize, Userinfo userinfo);
    int add(Userinfo userinfo);
    int delete(Long id);
    int updateData(Userinfo userinfo);
    Userinfo findById(Long id);
    Userinfo queryUserByNameAndPwd(Userinfo userinfo);
    void deleteUserByUsername(String username);
}
